package com.orange.base.component.biztool.simulateddata.service;

public class MainTest {

    public static void main(String[] args) throws Exception {
        long start = System.currentTimeMillis();
        for (int i = 0; i < 10; i++) {
            System.out.println(i);
            for (SimulatedDataEnum simulatedDataEnum : SimulatedDataEnum.values()) {
                SimulatedDataParam param = new SimulatedDataParam();
                param.setMin("1");
                param.setMax("1");
                Object value = SimulatedDataContext.getValue(simulatedDataEnum.getName(), param);
                System.out.println(simulatedDataEnum.getCaption() + "==:" + value);
            }
        }
        long end = System.currentTimeMillis();
        System.out.println("耗时:" + (end - start) / 1000);
    }
}
